package com.example.job.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.job.domain.Classroom;
import com.example.job.mapper.ClassroomMapper;
import com.example.job.service.IClassroomService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
@Slf4j
public class ClassroomServiceImpl extends ServiceImpl<ClassroomMapper, Classroom> implements IClassroomService {
    @Override
    public boolean batchInsert(List<Classroom> classroomList) {
        return saveBatch(classroomList);
    }
    @Override
    public boolean batchUpdate(List<Classroom> classroomList) {
        return updateBatchById(classroomList);
    }
}
